<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加</title> @include("/common/cssAndJs.html"){}
</head>
<body>
	<div class="x-body layui-anim layui-anim-up">
		<div class="layui-container">
			<div class="layui-row">
				<div class="layui-col-md2"></div>
				<div class="layui-col-md8">
					<form action="${ctxPath}/tSystemRole/tSystemRoleAdd"
						class="layui-form addForm" onsubmit="return false">
						<input type="hidden" name="id" id="id">
	
						<div class="layui-form-item">
							<label class="layui-form-label"> 上级角色 </label>
							<div class="layui-input-block">
								<input type="hidden" id="pId" name="pId" value=""> <input
									type="text" id="showNameDom" name="showNameDom"
									autocomplete="off" class="layui-input boot-layer"
									boot-url="${ctxPath}/common/showTree?treeUrl=${ctxPath}/tSystemRole/systemDepttSystemRoleList&treeTitle="name"&showNameDom=showNameDom&showIdDom=pId"
									boot-width="300" boot-height="400" boot-title="选择上级角色"
									end="function(){}" placeholder="如果不选择，默认为顶级">
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> <span class="x-red">*</span>角色名称
							</label>
							<div class="layui-input-block">
								<input type="text" id="name" name="name"
									lay-verify="required" autocomplete="off" class="layui-input">
							</div>
						</div>
							<div class="layui-form-item">
							<label class="layui-form-label"> <span class="x-red">*</span>关联部门 </label>
							<div class="layui-input-block">
								<input type="hidden" id="deptId" name="deptId" value=""> <input
									type="text" id="showNameDom2" name="showNameDom2"
									autocomplete="off" class="layui-input boot-layer"
									boot-url="${ctxPath}/common/showTree?treeUrl=${ctxPath}/systemDept/systemDeptList&treeTitle=fullName&showNameDom=showNameDom2&showIdDom=deptId"
									boot-width="300" boot-height="400" boot-title="选择上级部门"
									end="function(){}" placeholder="如果不选择，默认为顶级部门" >
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> 排序
							</label>
							<div class="layui-input-block">
								<input type="text" id="orderNum" name="orderNum"          lay-verify="maxlengths" maxlengths="11"
							placeholder="纯数字,数值越大越靠前" 		autocomplete="off" class="layui-input">
							</div>
							<div class="layui-form-mid layui-word-aux">
								<!-- <span class="x-red">*</span>将会成为您唯一的登入名   -->
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label"> 备注
							</label>
							<div class="layui-input-block">
								<input type="text" id="tips" name="tips"  lay-verify="maxlengths" maxlengths="1000"
									autocomplete="off"  class="layui-input">
							</div>
						</div>
						<div class="layui-form-item">
							<label  class="layui-form-label"> </label>
							<button class="layui-btn" lay-filter="boot-form-btn" lay-submit="">
								增加</button>
						</div>
					</form>
					<div class="layui-col-md2"></div>
				</div>
			</div>
		</div>
	</div>
	<script src="${ctxPath}/static/js/view/system/tSystemRole/tSystemRole.js"></script>
</body>
</html>